package com.hy.entity.pojo;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class HyPropertyRecord {

  @TableId
  private Integer propertyRecordId;
  private Integer propertyId;
  private String propertyName;
  private Integer beforeUserId;
  private String beforeUsername;
  private Integer afterUserId;
  private String afterUsername;
  private Integer unitId;
  private Integer recordState;
  private Integer checkerId;
  private String checkerName;

  @TableLogic
  private Integer del;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private String createDate;



}
